package com.components.form
{	
	/**
	 * @auth Chunning
	 * @purpose REGISTER FORM EVENTS....
	 * @date 2009-3-22
	 * */
	 
	import flash.events.Event;

	public class FormEvents extends Event
	{	
		//START
		
		//PROPERTY
		
		//event type...
		public static const IS_BLANK:String = "is_blank";
		
		public static const REPEAT_NOT_MATCH:String = "repeat_not_match";
		
		public static const IDENTIFY_CODE_WRONG:String = "identify_code_wrong";
		
		public static const EMAIL_UNAVAILABEL:String = "emial_unavailable";
		
		public static const SUBMIT:String = "form_submit";
		
		public static const CANCEL:String = "from_cancel";
				
		public var item:FormItem;
				
		//CONSTRUCTOR
		public function FormEvents(type:String,item:FormItem)
		{	
			
			this.item = item;
			
			super(type, bubbles, cancelable);
		}
		
		//METHODS
		public override function clone():Event
		{
			
			return new FormEvents(this.type,this.item);
			
		}
		
		//END
		
	}
}